package org.example.demo1;/*
 *@ 代阳敲的专属代码
 **/

public class Enumeration01 {
    public static void main(String[] args) {
        Season spring = new Season("春天", "春暖花开");
        Season summer = new Season("夏天", "夏日炎炎");
        Season autumn = new Season("秋天", "秋高气爽");
        Season winter = new Season("冬天", "冰天雪地");
        System.out.println(spring);
        System.out.println(summer);
        System.out.println(autumn);
        System.out.println(winter);
        winter.setDesc(" winter is coming");
        System.out.println(winter);
    }
}
